package model

type SeckillRule struct {
	Id        int64  `gorm:"column:id;type:bigint;comment:主键;primaryKey;not null;" json:"id"`           // 主键
	RuleName  string `gorm:"column:rule_name;type:varchar(30);comment:规格名称;not null;" json:"rule_name"` // 规格名称
	RuleValue string `gorm:"column:rule_value;type:text;not null;" json:"rule_value"`
}

func (sr *SeckillRule) TableName() string {
	return "seckill_rule"
}
